<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Lesson Project: pin_attr_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Lesson Project<span id="projectnumber">&#160;Beta V1.1</span>
   </div>
   <div id="projectbrief">Course Learning Template Engineering</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">pin_attr_t Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>struct of pin attribute  
 <a href="#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="led__driver_8h_source.html">led_driver.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a5ac083a645d964373f022d03df4849c8" id="r_a5ac083a645d964373f022d03df4849c8"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5ac083a645d964373f022d03df4849c8">name</a></td></tr>
<tr class="memdesc:a5ac083a645d964373f022d03df4849c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin name  <br /></td></tr>
<tr class="separator:a5ac083a645d964373f022d03df4849c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82241972e0292c7de95ea1e293e11be3" id="r_a82241972e0292c7de95ea1e293e11be3"><td class="memItemLeft" align="right" valign="top">GPIO_TypeDef *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a82241972e0292c7de95ea1e293e11be3">port</a></td></tr>
<tr class="memdesc:a82241972e0292c7de95ea1e293e11be3"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin port,it can be ignored to save space  <br /></td></tr>
<tr class="separator:a82241972e0292c7de95ea1e293e11be3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4144813adfa4dfe7e7cbeea17d1b06eb" id="r_a4144813adfa4dfe7e7cbeea17d1b06eb"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4144813adfa4dfe7e7cbeea17d1b06eb">pin</a></td></tr>
<tr class="memdesc:a4144813adfa4dfe7e7cbeea17d1b06eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin num,it can be ignored to save space  <br /></td></tr>
<tr class="separator:a4144813adfa4dfe7e7cbeea17d1b06eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90e9d12cadb88f452ec1dea603779bfb" id="r_a90e9d12cadb88f452ec1dea603779bfb"><td class="memItemLeft" align="right" valign="top">GPIO_PinState&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a90e9d12cadb88f452ec1dea603779bfb">state</a></td></tr>
<tr class="memdesc:a90e9d12cadb88f452ec1dea603779bfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin state  <br /></td></tr>
<tr class="separator:a90e9d12cadb88f452ec1dea603779bfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b29e4f37f4482274af785ad5ffe96a7" id="r_a6b29e4f37f4482274af785ad5ffe96a7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6b29e4f37f4482274af785ad5ffe96a7">mode</a></td></tr>
<tr class="memdesc:a6b29e4f37f4482274af785ad5ffe96a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin mode,for add _set_mode and _get_mode functions the next version  <br /></td></tr>
<tr class="separator:a6b29e4f37f4482274af785ad5ffe96a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af881021b980ca1b2632d0b302a58eba7" id="r_af881021b980ca1b2632d0b302a58eba7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af881021b980ca1b2632d0b302a58eba7">pull</a></td></tr>
<tr class="memdesc:af881021b980ca1b2632d0b302a58eba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin pull,for add _set_pull and _get_pull functions the next version  <br /></td></tr>
<tr class="separator:af881021b980ca1b2632d0b302a58eba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f666045d24aa8becc5244bc2396aca" id="r_a49f666045d24aa8becc5244bc2396aca"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a49f666045d24aa8becc5244bc2396aca">init</a></td></tr>
<tr class="memdesc:a49f666045d24aa8becc5244bc2396aca"><td class="mdescLeft">&#160;</td><td class="mdescRight">pin init  <br /></td></tr>
<tr class="separator:a49f666045d24aa8becc5244bc2396aca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>struct of pin attribute </p>
<p>name port num state mode pull init </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00034">34</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a49f666045d24aa8becc5244bc2396aca" name="a49f666045d24aa8becc5244bc2396aca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49f666045d24aa8becc5244bc2396aca">&#9670;&#160;</a></span>init</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t init</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin init </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00042">42</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="a6b29e4f37f4482274af785ad5ffe96a7" name="a6b29e4f37f4482274af785ad5ffe96a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b29e4f37f4482274af785ad5ffe96a7">&#9670;&#160;</a></span>mode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t mode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin mode,for add _set_mode and _get_mode functions the next version </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00040">40</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="a5ac083a645d964373f022d03df4849c8" name="a5ac083a645d964373f022d03df4849c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ac083a645d964373f022d03df4849c8">&#9670;&#160;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin name </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00036">36</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="a4144813adfa4dfe7e7cbeea17d1b06eb" name="a4144813adfa4dfe7e7cbeea17d1b06eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4144813adfa4dfe7e7cbeea17d1b06eb">&#9670;&#160;</a></span>pin</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t pin</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin num,it can be ignored to save space </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00038">38</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="a82241972e0292c7de95ea1e293e11be3" name="a82241972e0292c7de95ea1e293e11be3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82241972e0292c7de95ea1e293e11be3">&#9670;&#160;</a></span>port</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GPIO_TypeDef* port</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin port,it can be ignored to save space </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00037">37</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="af881021b980ca1b2632d0b302a58eba7" name="af881021b980ca1b2632d0b302a58eba7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af881021b980ca1b2632d0b302a58eba7">&#9670;&#160;</a></span>pull</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t pull</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin pull,for add _set_pull and _get_pull functions the next version </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00041">41</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<a id="a90e9d12cadb88f452ec1dea603779bfb" name="a90e9d12cadb88f452ec1dea603779bfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90e9d12cadb88f452ec1dea603779bfb">&#9670;&#160;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GPIO_PinState state</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pin state </p>

<p class="definition">Definition at line <a class="el" href="led__driver_8h_source.html#l00039">39</a> of file <a class="el" href="led__driver_8h_source.html">led_driver.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>C:/Users/ttl/Documents/Lesson/Lesson_Project/T4056_Eternal_Watch/03_Firmware/Temp/User/Driver/LED/Inc/<a class="el" href="led__driver_8h_source.html">led_driver.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
